class_name Track 
extends Node
@onready var spwan_pos: Marker2D = $SpwanPos

const TEXT_BULLET_SCENE = preload("res://scene/Track/TextBullet/TextBullet.tscn")


func spwan_text_bullet( str:String ) ->void:
	var text_bullet = TEXT_BULLET_SCENE.instantiate()  as TextBullet
	text_bullet.set_bullet_data(str)
	text_bullet.position = spwan_pos.position
	add_child(text_bullet)
